﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GrainManage.Data.Pattern
{
    public enum PatternMode { Contain, Start, End, Original, Split }

    public interface IPattern
    {
        string ContainModel(string parameter);
        string StartModel(string parameter);
        string EndModel(string parameter);
        string OriginalModel(string parameter);
        string SplitModel(string parameter);
        string GetPatternModel(string parameter, PatternMode mode);
        void SetModel<TEntity>(TEntity entityFilter, PatternMode mode) where TEntity : class;
    }
}
